const dbModel = require('../models')
const Users = require('./user')
const Articles = require('./article')
const Tags = require('./tag')

module.exports = () => {
  return {
    users: new Users(dbModel.User),
    articles: new Articles(dbModel.Article),
    tags: new Tags(dbModel.Tag)
  }
}
